package com.bdmc.work.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;;

/**
 * 清运任务工单对象 work_order
 *
 * @author bdmc
 * @date 2022-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("work_order")
public class WorkOrder extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 
     */
    @TableId(value = "order_id")
    private Long orderId;
    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 工单号
     */
    private String orderNum;
    /**
     * 工单生成时间
     */
    private LocalDateTime orderTime;
    /**
     * 设施id
     */
    private Long facilityId;
    /**
     * 设备id
     */
    private Long deviceId;
    /**
     * 工单状态
     */
    private Integer orderStatus;
    /**
     * 车辆id
     */
    private Long carId;
    /**
     * 车牌号
     */
    private String carNum;
    /**
     * 司机id
     */
    private Long driverId;
    /**
     * 司机姓名
     */
    private String driverName;
    /**
     * 司机是否结果
     */
    private Integer driverDealStatus;
    /**
     * 司机处理时间
     */
    private LocalDateTime driverDealTime;
    /**
     * 主管id
     */
    private Long managerId;
    /**
     * 主管姓名
     */
    private String managerName;
    /**
     * 保洁id
     */
    private Long cleanerId;
    /**
     * 保洁姓名
     */
    private String cleanerName;
    /**
     * 保洁员处理结果
     */
    private Integer cleanerDealStatus;
    /**
     * 保洁员处理时间
     */
    private LocalDateTime cleanerDealTime;

    private String cleanerDealPic;

    private String cleanerDealContent;
    /**
     * 
     */
    private String remark;

}
